package tbalert.web.manager;

import java.util.List;

import tbalert.page.Pagination;
import tbalert.web.entity.Role;

public interface RoleMng {
	public Role deleteById(Integer id);

	public Role[] deleteByIds(Integer[] ids);

	public Role findById(Integer id);

	public Pagination findRole(Role role, int pageNo, int pageSize);

	public List<Role> getAll();

	public Role save(Role role);

	public Role update(Role role);
}
